Optimal. Leaf size=163 \[ \frac{2 (f+g x)^{5/2} \left (a+b \log \left (c (d+e x)^n\right )\right )}{5 g}-\frac{4 b n \sqrt{f+g x} (e f-d g)^2}{5 e^2 g}+\frac{4 b n (e f-d g)^{5/2} \tanh ^{-1}\left (\frac{\sqrt{e} \sqrt{f+g x}}{\sqrt{e f-d g}}\right )}{5 e^{5/2} g}-\frac{4 b n (f+g x)^{3/2} (e f-d g)}{15 e g}-\frac{4 b n (f+g x)^{5/2}}{25 g} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.163095, antiderivative size = 163, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 4, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {2395, 50, 63, 208} \[ \frac{2 (f+g x)^{5/2} \left (a+b \log \left (c (d+e x)^n\right )\right )}{5 g}-\frac{4 b n \sqrt{f+g x} (e f-d g)^2}{5 e^2 g}+\frac{4 b n (e f-d g)^{5/2} \tanh ^{-1}\left (\frac{\sqrt{e} \sqrt{f+g x}}{\sqrt{e f-d g}}\right )}{5 e^{5/2} g}-\frac{4 b n (f+g x)^{3/2} (e f-d g)}{15 e g}-\frac{4 b n (f+g x)^{5/2}}{25 g} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2395
Rule 50
Rule 63
Rule 208
Rubi steps
\begin{align*} \int (f+g x)^{3/2} \left (a+b \log \left (c (d+e x)^n\right )\right ) \, dx &=\frac{2 (f+g x)^{5/2} \left (a+b \log \left (c (d+e x)^n\right )\right )}{5 g}-\frac{(2 b e n) \int \frac{(f+g x)^{5/2}}{d+e x} \, dx}{5 g}\\ &=-\frac{4 b n (f+g x)^{5/2}}{25 g}+\frac{2 (f+g x)^{5/2} \left (a+b \log \left (c (d+e x)^n\right )\right )}{5 g}-\frac{(2 b (e f-d g) n) \int \frac{(f+g x)^{3/2}}{d+e x} \, dx}{5 g}\\ &=-\frac{4 b (e f-d g) n (f+g x)^{3/2}}{15 e g}-\frac{4 b n (f+g x)^{5/2}}{25 g}+\frac{2 (f+g x)^{5/2} \left (a+b \log \left (c (d+e x)^n\right )\right )}{5 g}-\frac{\left (2 b (e f-d g)^2 n\right ) \int \frac{\sqrt{f+g x}}{d+e x} \, dx}{5 e g}\\ &=-\frac{4 b (e f-d g)^2 n \sqrt{f+g x}}{5 e^2 g}-\frac{4 b (e f-d g) n (f+g x)^{3/2}}{15 e g}-\frac{4 b n (f+g x)^{5/2}}{25 g}+\frac{2 (f+g x)^{5/2} \left (a+b \log \left (c (d+e x)^n\right )\right )}{5 g}-\frac{\left (2 b (e f-d g)^3 n\right ) \int \frac{1}{(d+e x) \sqrt{f+g x}} \, dx}{5 e^2 g}\\ &=-\frac{4 b (e f-d g)^2 n \sqrt{f+g x}}{5 e^2 g}-\frac{4 b (e f-d g) n (f+g x)^{3/2}}{15 e g}-\frac{4 b n (f+g x)^{5/2}}{25 g}+\frac{2 (f+g x)^{5/2} \left (a+b \log \left (c (d+e x)^n\right )\right )}{5 g}-\frac{\left (4 b (e f-d g)^3 n\right ) \operatorname{Subst}\left (\int \frac{1}{d-\frac{e f}{g}+\frac{e x^2}{g}} \, dx,x,\sqrt{f+g x}\right )}{5 e^2 g^2}\\ &=-\frac{4 b (e f-d g)^2 n \sqrt{f+g x}}{5 e^2 g}-\frac{4 b (e f-d g) n (f+g x)^{3/2}}{15 e g}-\frac{4 b n (f+g x)^{5/2}}{25 g}+\frac{4 b (e f-d g)^{5/2} n \tanh ^{-1}\left (\frac{\sqrt{e} \sqrt{f+g x}}{\sqrt{e f-d g}}\right )}{5 e^{5/2} g}+\frac{2 (f+g x)^{5/2} \left (a+b \log \left (c (d+e x)^n\right )\right )}{5 g}\\ \end{align*}
Mathematica [A] time = 0.221988, size = 137, normalized size = 0.84 \[ \frac{2 \left ((f+g x)^{5/2} \left (a+b \log \left (c (d+e x)^n\right )\right )-\frac{2 b n (e f-d g) \left (\sqrt{e} \sqrt{f+g x} (-3 d g+4 e f+e g x)-3 (e f-d g)^{3/2} \tanh ^{-1}\left (\frac{\sqrt{e} \sqrt{f+g x}}{\sqrt{e f-d g}}\right )\right )}{3 e^{5/2}}-\frac{2}{5} b n (f+g x)^{5/2}\right )}{5 g} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 1.185, size = 0, normalized size = 0. \begin{align*} \int \left ( gx+f \right ) ^{{\frac{3}{2}}} \left ( a+b\ln \left ( c \left ( ex+d \right ) ^{n} \right ) \right ) \, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.98157, size = 1207, normalized size = 7.4 \begin{align*} \left [\frac{2 \,{\left (15 \,{\left (b e^{2} f^{2} - 2 \, b d e f g + b d^{2} g^{2}\right )} n \sqrt{\frac{e f - d g}{e}} \log \left (\frac{e g x + 2 \, e f - d g + 2 \, \sqrt{g x + f} e \sqrt{\frac{e f - d g}{e}}}{e x + d}\right ) +{\left (15 \, a e^{2} f^{2} - 3 \,{\left (2 \, b e^{2} g^{2} n - 5 \, a e^{2} g^{2}\right )} x^{2} - 2 \,{\left (23 \, b e^{2} f^{2} - 35 \, b d e f g + 15 \, b d^{2} g^{2}\right )} n + 2 \,{\left (15 \, a e^{2} f g -{\left (11 \, b e^{2} f g - 5 \, b d e g^{2}\right )} n\right )} x + 15 \,{\left (b e^{2} g^{2} n x^{2} + 2 \, b e^{2} f g n x + b e^{2} f^{2} n\right )} \log \left (e x + d\right ) + 15 \,{\left (b e^{2} g^{2} x^{2} + 2 \, b e^{2} f g x + b e^{2} f^{2}\right )} \log \left (c\right )\right )} \sqrt{g x + f}\right )}}{75 \, e^{2} g}, \frac{2 \,{\left (30 \,{\left (b e^{2} f^{2} - 2 \, b d e f g + b d^{2} g^{2}\right )} n \sqrt{-\frac{e f - d g}{e}} \arctan \left (-\frac{\sqrt{g x + f} e \sqrt{-\frac{e f - d g}{e}}}{e f - d g}\right ) +{\left (15 \, a e^{2} f^{2} - 3 \,{\left (2 \, b e^{2} g^{2} n - 5 \, a e^{2} g^{2}\right )} x^{2} - 2 \,{\left (23 \, b e^{2} f^{2} - 35 \, b d e f g + 15 \, b d^{2} g^{2}\right )} n + 2 \,{\left (15 \, a e^{2} f g -{\left (11 \, b e^{2} f g - 5 \, b d e g^{2}\right )} n\right )} x + 15 \,{\left (b e^{2} g^{2} n x^{2} + 2 \, b e^{2} f g n x + b e^{2} f^{2} n\right )} \log \left (e x + d\right ) + 15 \,{\left (b e^{2} g^{2} x^{2} + 2 \, b e^{2} f g x + b e^{2} f^{2}\right )} \log \left (c\right )\right )} \sqrt{g x + f}\right )}}{75 \, e^{2} g}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (g x + f\right )}^{\frac{3}{2}}{\left (b \log \left ({\left (e x + d\right )}^{n} c\right ) + a\right )}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]